package com.chidopi.member.service;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import com.chidopi.member.dao.DaoConfig;
import com.chidopi.member.service.impl.MemberMaintainServiceImpl;
import com.chidopi.member.service.impl.MemberServiceImpl;

@Configuration("MemberServiceConfig")
@Import(DaoConfig.class)
public class ServiceConfig {

	@Bean(name="memberService")
	public IMemberService memberService() {
		return new MemberServiceImpl();
	}

	@Bean(name="memberMaintainService")
	public IMemberMaintainService memberMaintainService() {
		return new MemberMaintainServiceImpl();
	}
}
